import 'package:flutter/material.dart';

import 'assets_image.dart';

/// FileName circle_image
///
/// @Author lax
/// @Date 2023/11/6
///
/// @Description

class CircleImage extends AssetsImage {
  static Color? defaultBgColor;

  CircleImage({
    super.key,
    double? size,
    super.url,
    super.path,
    super.name,
    super.package,
    Color? bgColor,
    super.color,
    super.fit = BoxFit.contain,
    super.margin,
    super.padding,
  }) : super(
          radius: size == null ? null : size / 2,
          size: size,
          bgColor: bgColor ?? defaultBgColor,
        );
}
